/*
 * @Description:
 * @Version: 1.0
 * @Author: Will
 * @Date: 2023-06-08 09:13:00
 * @LastEditors: MarsLay 331412466@qq.com
 * @LastEditTime: 2024-01-11 16:28:41
 * @FilePath: \governmente:\project\nanhu\main.js
 * Copyright (C) 2023 Will. All rights reserved.
 */

// #ifndef VUE3
import Vue from "vue";
import App from "./App";

Vue.config.productionTip = false;

import store from "@/store";
Vue.prototype.$store = store;

import util from "@/utils/util";
Vue.prototype.$util = util;

import "./utils/date-format";

// 自定义模板页
import lPage from "./components/page/page";
Vue.component("lPage", lPage);

// 把自定义tabbar定义成全局组件
import tabbar from "./components/tabbar/tabbar";
Vue.component("tabbar", tabbar);

App.mpType = "app";

const app = new Vue({
  ...App,
});
app.$mount();
// #endif

// #ifdef VUE3
import { createSSRApp } from "vue";
import App from "./App.vue";
export function createApp() {
  const app = createSSRApp(App);
  return {
    app,
  };
}
// #endif
